const db = uniCloud.database()
const dbCmd = db.command
const {
	zmfVoiceInfoCollection
} = require('../../../common/constants')
const {
	ERROR
} = require('../../../common/error')

/**
 * 获取配音员信息
 */
module.exports = async function(params = {}) {
	const resp = await zmfVoiceInfoCollection
	.orderBy("id",'desc')
	.get()
	const userRecord = resp && resp.data ? resp.data : {}
	return {
		errCode: 0,
		userRecord: userRecord
	}
}